{include file="header.html"}
<div> 
<ul class="nav nav-tabs">
<li class="active"><a href="{$appadmin}?m=shopadmin&shopid={$shop.shopid}">店铺账户管理</a></li>
{if $shop}<li><a href="{$appadmin}?m=shopadmin&a=add&shopid={$shop.shopid}">添加</a></li>{/if}
</ul>

<div>当前店铺：{$shop.shopname}</div>
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   
   <td>所属店铺</td>
   <td>管理员</td>
    
    
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.adminid}</td>
    
   <td>{$c.shopname}</td>
   <td>{$c.adminname}</td>
    
   
<td><a href="{$appadmin}?m=shopadmin&a=add&shopid={$c.shopid}&adminid={$c.adminid}">修改账户</a>
<a class="delete" href="javascript:;" url="{$appadmin}?m=shopadmin&a=delete&ajax=1&shopid={$c.shopid}&adminid={$c.adminid}">删除账户</a>
 </td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div> 
{include file="footer.html"}